preventing users from spawning duplicate worker jobs on hard refresh