780536ba72
Motivation: testTruncatedWithTcpFallback was flacky as we may end up closing the socket before we could read all data. We should only close the socket after we succesfully read all data. Modifications: Move socket.close() to finally block Result: Fix flaky test and so make the CI more stable again.