Implement super simple timeouts in tasks

Not sure if this is really correct, but it'll get the ball rolling hopefully.