Add safeClose(Transport)