In case run_one is used, the lock is currently not released at all.