catch errors on deleting jobs