fix uploading fail, temporarily not consider connection fail