New clear_jobs function

QBWC.clear_jobs is useful in testing