Socket.IO - listeners fix