Close client websocket more gracefully.