add retry option to curl.
Merge pull request #12 from hansode/curl-retry

add retry option to curl.