Add tests for outgoing Connection: close handling