Added timeouts to synchronous calls