correctly signal job termination