Allow custom timeouts when connecting to remote servers.