Remove unused tracebacks.
Add debug information on open/close websocket connection.