Added WriteCommand and ConnectTimeout