bz1151744 - wrap the wait for reload to finish inside of the lockfile