returned an integer from the amqp_websocket_close function