Addding a flag to stop jobs from haning with whenever gem