Add CURL_GLOBAL_ACK_EINTR flag to curl init.
py: Update examples.