anchor.diff:      lists:foreach(fun({ok, {Sock, _}}) -> ssl:close(Sock) end, Connections).
   
   -perf_test([
  -    {repeats, 1},
  +    {repeats, 3},
       {perf_configs, [
           {tcp_direct, [{packet_size_kilobytes, 1024}, {packet_num, 1000}, {transport, ssl}]},
           {ssl_through_oneproxy, [{packet_size_kilobytes, 1024}, {packet_num, 1000}, {transport, gen_tcp}]}
  
positive.code:         end,
      OtherOpts = proplists:delete(active, SocketOpts),
      CertInfoMessageRaw = oneproxy_messages:encode_msg(#'CertificateInfo'{}),
  
      % when
      {ok, ExternalPort} = rpc:call(Node, application, get_env, [?APP_NAME, protocol_handler_port]),
      Port =
          case Transport of
              gen_tcp -> rpc:call(Node, oneproxy, get_local_port, [ExternalPort]);
              ssl -> ExternalPort
          end,
      {ok, Sock} = Transport:connect(utils:get_host_as_atom(Node), Port, [binary,
          {packet, 4}, {active, once}] ++ OtherOpts),
      case Transport of
          gen_tcp -> ok = Transport:send(Sock, CertInfoMessageRaw);
          _ -> ok
  
negative.code:     ].
  
  -perf_test([
      {repeats, 3},
      {perf_configs, [
          [{packet_size_kilobytes, 1024}, {packet_num, 1000}]
      ]},
  