Use poll() instead of returncode to not create zombies.