Timeout for connection.