sleeping and retrying on IOError
should help against intermitent share drops