avoid multiple running instances of a job

shouldn't we make sure that a job isn't running twice?