Fixes for closing a connection in the response of a websocket_connect in cloudi_service_http_cowboy.