[fix] Close WebSocket on action ended to prevent unclosed and lost socket