Adding timeouts to all the calls.