Fix potential abort on busy systems
Fix potential abort on busy systems

Summary:
I was playing with some stuff, and noticed a potential abort. To repro:
// This slows down the binary by a lot
export MALLOC_CONF=prof:true,lg_prof_sample:0,prof_prefix:/tmp/jeprof
[andreib@dev1506 ~/fbcode/_bin/infrasec/perf] ./fanout_test -hostnames=/home/andreib/listtwshared -max_connections_per_sasl_thread=5 -num_secure=10000 -default_sasl_thread_count=1

The abort looks like:
https://phabricator.fb.com/P19691288

The problem is that we set the inProgress member to true even though we havne't actually started the handshake. This causes an inconsitency in the counts.

Test Plan: Ran the commands in summary, saw no issues.

Reviewed By: sandeepkk@fb.com

Subscribers: trunkagent, alandau, bmatheny, mshneer, wstefancik

FB internal diff: D1770895

Signature: t1:1770895:1420745587:3249cc2e6e14b416d301a9c08b96650069dbf267

HankFaan/fbthrift,project-zerus/fbthrift,guker/fbthrift,raphaelamorim/fbthrift,kangkot/fbthrift,kangkot/fbthrift,uber/fbthrift,maxwell-demon/fbthrift,getyourguide/fbthrift,project-zerus/fbthrift,guker/fbthrift,soumith/fbthrift,sinjar666/fbthrift,soumith/fbthrift,HankFaan/fbthrift,sinjar666/fbthrift,getyourguide/fbthrift,getyourguide/fbthrift,Orvid/fbthrift,getyourguide/fbthrift,chjp2046/fbthrift,SergeyMakarenko/fbthrift,Orvid/fbthrift,project-zerus/fbthrift,LinusU/fbthrift,uber/fbthrift,maxwell-demon/fbthrift,sinjar666/fbthrift,guker/fbthrift,raphaelamorim/fbthrift,maxwell-demon/fbthrift,facebook/fbthrift,LinusU/fbthrift,maxwell-demon/fbthrift,chjp2046/fbthrift,fengshao0907/fbthrift,sinjar666/fbthrift,soumith/fbthrift,chjp2046/fbthrift,maxwell-demon/fbthrift,soumith/fbthrift,raphaelamorim/fbthrift,maxwell-demon/fbthrift,SergeyMakarenko/fbthrift,sinjar666/fbthrift,sinjar666/fbthrift,raphaelamorim/fbthrift,kangkot/fbthrift,soumith/fbthrift,fengshao0907/fbthrift,LinusU/fbthrift,chjp2046/fbthrift,chjp2046/fbthrift,maxwell-demon/fbthrift,fengshao0907/fbthrift,LinusU/fbthrift,guker/fbthrift,project-zerus/fbthrift,sinjar666/fbthrift,project-zerus/fbthrift,maxwell-demon/fbthrift,raphaelamorim/fbthrift,HankFaan/fbthrift,project-zerus/fbthrift,getyourguide/fbthrift,kangkot/fbthrift,Orvid/fbthrift,uber/fbthrift,Orvid/fbthrift,project-zerus/fbthrift,facebook/fbthrift,soumith/fbthrift,SergeyMakarenko/fbthrift,HankFaan/fbthrift,LinusU/fbthrift,facebook/fbthrift,facebook/fbthrift,uber/fbthrift,guker/fbthrift,chjp2046/fbthrift,kangkot/fbthrift,facebook/fbthrift,uber/fbthrift,project-zerus/fbthrift,kangkot/fbthrift,raphaelamorim/fbthrift,getyourguide/fbthrift,soumith/fbthrift,chjp2046/fbthrift,SergeyMakarenko/fbthrift,soumith/fbthrift,LinusU/fbthrift,sinjar666/fbthrift,Orvid/fbthrift,guker/fbthrift,kangkot/fbthrift,SergeyMakarenko/fbthrift,raphaelamorim/fbthrift,guker/fbthrift,soumith/fbthrift,fengshao0907/fbthrift,fengshao0907/fbthrift,LinusU/fbthrift,fengshao0907/fbthrift,facebook/fbthrift,soumith/fbthrift,fengshao0907/fbthrift,maxwell-demon/fbthrift,facebook/fbthrift,Orvid/fbthrift,Orvid/fbthrift,uber/fbthrift,LinusU/fbthrift,guker/fbthrift,chjp2046/fbthrift,LinusU/fbthrift,facebook/fbthrift,SergeyMakarenko/fbthrift,project-zerus/fbthrift,uber/fbthrift,Orvid/fbthrift,getyourguide/fbthrift,getyourguide/fbthrift,sinjar666/fbthrift,fengshao0907/fbthrift,Orvid/fbthrift,raphaelamorim/fbthrift,project-zerus/fbthrift,guker/fbthrift,fengshao0907/fbthrift,raphaelamorim/fbthrift,Orvid/fbthrift,fengshao0907/fbthrift,guker/fbthrift,SergeyMakarenko/fbthrift,getyourguide/fbthrift,uber/fbthrift,SergeyMakarenko/fbthrift,HankFaan/fbthrift,Orvid/fbthrift,uber/fbthrift,chjp2046/fbthrift,LinusU/fbthrift,chjp2046/fbthrift,SergeyMakarenko/fbthrift,project-zerus/fbthrift,chjp2046/fbthrift,raphaelamorim/fbthrift,guker/fbthrift,kangkot/fbthrift,getyourguide/fbthrift,fengshao0907/fbthrift,HankFaan/fbthrift,SergeyMakarenko/fbthrift,LinusU/fbthrift,HankFaan/fbthrift,sinjar666/fbthrift,facebook/fbthrift,soumith/fbthrift,HankFaan/fbthrift,getyourguide/fbthrift,kangkot/fbthrift,HankFaan/fbthrift,HankFaan/fbthrift,uber/fbthrift,SergeyMakarenko/fbthrift,sinjar666/fbthrift,raphaelamorim/fbthrift,maxwell-demon/fbthrift,kangkot/fbthrift,HankFaan/fbthrift,maxwell-demon/fbthrift,getyourguide/fbthrift,SergeyMakarenko/fbthrift,uber/fbthrift,uber/fbthrift,kangkot/fbthrift,project-zerus/fbthrift,chjp2046/fbthrift