Add a prototype for callWithTimeout, does what is says