Add logging for websocket closing and errors.