Make execute with time limit more robust
Make execute with time limit more robust

The previous execute with timelimit had occurences of off-by-one errors, making the tests go red (which is in general a bad sign).
Now relying on the return-code from task.Wait() to determine whether or not we're done executing the task for the specified amount of time.
Fixes #1

Hammerstad/Moya