Ignore detach websocket when no websocket is attached.