Adding retry for upload

To overcome either my flaky 3G internet connection or a flaky
Wordpress.com API.