Explicit close of the transport layer before reusing it