remove running sentinel when switching into read-only mode