TryToGetQueue method moved to the JobStorage class