clear jobs implementation