* fixed waiting for running jobs during error handling