I stub the timeout functions pretty hard :)