added sanity check to renew task