clean socketio listeners at module deletion