implemented checking a jobs status