reserve space for stats so we don't malloc during the test
set close value for failed connections