Make error wait for jobs instead of killing them