Fix timing dependency in no_running_jobs test