added feature to not launch jobs that are already in queue