Timeout for asynchronous methods