delete_jobs() function

Delete all jobs.