close web socket gracefully to reduce error messages in server log