Remove duplicate socket event listeners