debug web socket client close