Avoid to create the connect timeout task
if the WebSocket object cannot be created.