Re-use db lock check first in maintenance (with test for same second completed run)