fix socketio disconnect problem