You can change it to make sure poll() returns 0 (valid returncode).