Avoid `global` use for socketio