added delete method for delayed jobs.