7f1a08d432
terminate can fail if process finished after the call to poll, just pass on error then.
terminate can fail if process finished after the call to poll, just pass on error then.