Add a timeout value to the long polling requests.