Fix race condition when writing to local pre-connection buffer.
Fix race condition when writing to local pre-connection buffer.

v1koepke1/connectbot,Potass/ConnectBot,dreamapps786/connectbot,SEC-squad/irssiconnectbot,connectbot/connectbot,sonyraj/connectbot,since2014/connectbot,hach-que/ConnectBot,BigEd/connectbot,SeReRPRo/connectbot,windowhero0/connectbot,schoentoon/Connectbot,ohurst7/connectbot,khorimoto/connectbot,yanglinjingshu/connectbot,bokjjang/connectbot,xuyunhong/connectbot,asolfre/connectbot,gourabnagDev/connectbot,Faried786/connectbot,sonyraj/connectbot,jklein24/connectbot,LukasKnuth/connectbot-xoom,poyuwu/connectbot,ajanata/ajanata-connectbot-transformer-infinity,jianlinwei/connectbot,Baschdl578/connectbot,since2014/connectbot,kyau/connectbot,emmie/connectbot,brunodles/connectbot,rachoo/connectbot,austgl/connectbot,DjLucky/connectbot,kongjianweili/connectbot,smallperson/connectbot,ajanata/ajanata-connectbot-transformer-infinity,bokjjang/connectbot,jianlinwei/connectbot,hach-que/jrhodes-connectbot,poyuwu/connectbot,ipmobiletech/connectbot,v1koepke1/connectbot,kitencx/connectbot,malith123/connectbot,sungchiaying/connectbot,zhoujianhanyu/connectbot,SEC-squad/irssiconnectbot,chunlinyao/chunlinyao-connectbot,paraggarg37/connectbot,nixomose/connectbot,Lekensteyn/connectbot,srikanthguduru/connectbot,mansourifatimaezzahraa/connectbot,nixomose/connectbot,vx/connectbot,zdenu077/connectbot,kfritscher/connectbot,zeldin/connectbot,reidwooten99/connectbot,jumaris/connectbot,alphallc/connectbot,kurtisnelson/SSHades,murat8505/connectbot,ConstantineXVI/connectbot,malith123/connectbot,redshodan/connectbot,zeldin/connectbot,dakebubi/connectbot,LukasKnuth/connectbot-xoom,rhansby/connectbot,dreamapps786/connectbot,ddrown/irssiconnectbot,haku/connectbot-haku-mod,austgl/connectbot,FauxFaux/connectbot,Yichou/connectbot,MarginC/connectbot,alescdb/connectbot,reidwooten99/connectbot,emmie/connectbot,iiordanov/BSSH,zhoujianhanyu/connectbot,vx/connectbot,innovatormrityunjay/connectbot,redshodan/connectbot,novendraap/connectbot,iiordanov/BSSH,waasilzamri/connectbot,smallperson/connectbot,kaushik-Das/connectbot,Yichou/connectbot,ohurst7/connectbot,gertcuykens/connectbot,sungchiaying/connectbot,srikanthguduru/connectbot,austgl/connectbot,asolfre/connectbot,kyau/connectbot,ghofranehr/connectbot,khorimoto/connectbot,kabir/connectbot,trygveaa/connectbot,gertcuykens/connectbot,windowhero0/connectbot,changjiashuai/connectbot,tectronics/connectbot,kfritscher/connectbot,SeReRPRo/connectbot,hach-que/ConnectBot,v1koepke1/connectbot,Baschdl578/connectbot,tinixx/connectbot,zeldin/connectbot,brunodles/connectbot,xuyunhong/connectbot,poyuwu/connectbot,ghofranehr/connectbot,Aethelflaed/connectbot,novawoo/connectbot,jklein24/connectbot,novendraap/connectbot,khorimoto/connectbot,kabir/connectbot,kongjianweili/connectbot,Bagoro/connectbot,atiqulalam/connectbot,ghofranehr/connectbot,lotan/connectbot,paraggarg37/connectbot,chunlinyao/chunlinyao-connectbot,SEC-squad/irssiconnectbot,DjLucky/connectbot,kurtisnelson/SSHades,dakebubi/connectbot,getconsole/serialbot,Shedings/connectbot,kaushik-Das/connectbot,srikanthguduru/connectbot,alphallc/connectbot,kitencx/connectbot,novawoo/connectbot,DavidCox1979/connectbot,SriramBms/connectbot,Cowsrcool/connectbot-keyboardfix,schoentoon/Connectbot,FauxFaux/connectbot,protonet/protodroid,tst2005googlecode/connectbot,rachoo/connectbot,novawoo/connectbot,novendraap/connectbot,emmie/connectbot,nemobis/connectbot,haku/connectbot-haku-mod,kaushik-Das/connectbot,murat8505/connectbot,atiqulalam/connectbot,changjiashuai/connectbot,MarginC/connectbot,giuliolunati/connectbox,sonyraj/connectbot,DavidCox1979/connectbot,dakebubi/connectbot,praveenmt66/connectbot,haku/connectbot-haku-mod,waasilzamri/connectbot,jumaris/connectbot,Aethelflaed/connectbot,jianlinwei/connectbot,innovatormrityunjay/connectbot,ddrown/irssiconnectbot,hach-que/jrhodes-connectbot,hach-que/ConnectBot,nemobis/connectbot,Lekensteyn/connectbot,dreamapps786/connectbot,tinixx/connectbot,praveenmt66/connectbot,hach-que/jrhodes-connectbot,ConstantineXVI/connectbot,changjiashuai/connectbot,galexander1/connectbot,rhansby/connectbot,tst2005googlecode/connectbot,connectbot/connectbot,brunodles/connectbot,alescdb/connectbot,galexander1/connectbot,irssiconnectbot/irssiconnectbot,Lekensteyn/connectbot,jklein24/connectbot,malith123/connectbot,jumaris/connectbot,LukasKnuth/connectbot-xoom,SeReRPRo/connectbot,innovatormrityunjay/connectbot,Baschdl578/connectbot,SriramBms/connectbot,asolfre/connectbot,smallperson/connectbot,murat8505/connectbot,Aethelflaed/connectbot,ajanata/ajanata-connectbot-transformer-infinity,SEC-squad/irssiconnectbot,Potass/ConnectBot,sungchiaying/connectbot,Bagoro/connectbot,alescdb/connectbot,irssiconnectbot/irssiconnectbot,sunydepalpur/connectbot,ipmobiletech/connectbot,paraggarg37/connectbot,getconsole/serialbot,getconsole/serialbot,Bagoro/connectbot,atiqulalam/connectbot,MarginC/connectbot,ddrown/irssiconnectbot,vx/connectbot,reidwooten99/connectbot,Shedings/connectbot,kitencx/connectbot,vx/connectbot,gourabnagDev/connectbot,zdenu077/connectbot,Faried786/connectbot,since2014/connectbot,sunydepalpur/connectbot,fargg/connectbot,fargg/connectbot,ipmobiletech/connectbot,lotan/connectbot,chunlinyao/chunlinyao-connectbot,Yichou/connectbot,schoentoon/Connectbot,Potass/ConnectBot,FauxFaux/connectbot,connectbot/connectbot,iiordanov/BSSH,Faried786/connectbot,tectronics/connectbot,sunydepalpur/connectbot,trygveaa/connectbot,ConstantineXVI/connectbot,kabir/connectbot,kruton/connectbot,DjLucky/connectbot,mansourifatimaezzahraa/connectbot,zhoujianhanyu/connectbot,kongjianweili/connectbot,Shedings/connectbot,kfritscher/connectbot,Cowsrcool/connectbot-keyboardfix,xuyunhong/connectbot,praveenmt66/connectbot,gourabnagDev/connectbot,waasilzamri/connectbot,DavidCox1979/connectbot,mansourifatimaezzahraa/connectbot,nixomose/connectbot,BigEd/connectbot,Cowsrcool/connectbot-keyboardfix,windowhero0/connectbot,fargg/connectbot,yanglinjingshu/connectbot,zeldin/connectbot,ipmobiletech/connectbot,giuliolunati/connectbox,tst2005googlecode/connectbot,trygveaa/connectbot,Lekensteyn/connectbot,ohurst7/connectbot,tectronics/connectbot,yanglinjingshu/connectbot,tinixx/connectbot,nemobis/connectbot,redshodan/connectbot,bokjjang/connectbot,zdenu077/connectbot,kruton/connectbot,rhansby/connectbot,BigEd/connectbot,SriramBms/connectbot,rachoo/connectbot,kruton/connectbot,galexander1/connectbot,lotan/connectbot