tests fix: closing transports