A pure NodeJS function to kill select EC2 instances if they run longer than a defined period.
This is useful as a safety measure when using EC2 in CI and launching many instances.
A CI crash or user action could prevent proper cleanup, leaving expensive machines running forever
(or until the next billing cycle when there is much screaming).