added closing job and preSleep to Job#workComplete and Job#reportError
finished WORK_FAIL including client side