Set time-out builds to failed

After 77feedd3b17e05d39ea0858832da199551ef585f, builds that run forever should be far more unlikely, but just in case, this PR adds setting timed-out builds to failed in the run loop. Fixes #37.