Delete tasks/jobs synchronously if possible