[test] Replace `outgoing::close` with `outgoing::end`