It's very strange because if it makes it through the compare phase then it will stay connected through very long uploading.
The error says "no-transfer-time exceeded". So the server has likely limit how long the connection can stay without a transfer occurring. In the "compare phase", there are no transfers.