[backend] worker: reset hardstatus after discarding build job