Pass exit status to callback so we can decide there whether to stop or not.