cleanup socketio endpoints