add errorcatch for network connectivity issues during copying