Fix timeouts / exit codes not being same across ruby and non-ruby checks

This fixes timeouts / exit codes to be consistent whether executing a forked ruby check or just a regular shell command.

@deanxorr @jjrussell