Simplify testing to ensure process termination.