Added list_job_finish and correct handling when master finishes serving packets