Fix termination of external runners with duration.