use threshold instead of fetch data from db; fixed use wrong job_cancel in workers checker
removed tools.deprecated since no need them anymore