sockets were left open if connection could not be  established resulting in a mass of unusable open file  descriptors
sockets were left open if connection could not be
 established resulting in a mass of unusable open file
 descriptors

Signed-off-by: Tobias Maier <697b4abd9d664242c96acae20e02c43708daf073@netplace.com>

weimingtom/libwebsockets,wenqiwooo/syslog-libwebsockets,Chilledheart/libwebsockets,pebble/libwebsockets,GroundControl-Solutions/libwebsockets,DaYeSquad/libwebsockets,DaYeSquad/libwebsockets,antmicro/libwebsockets,abligh/libwebsockets,sartura/libwebsockets,sanyaade-teachings/libwebsockets,peeracle/libwebsockets,turbulenz/libwebsockets,mralexgray/libwebsockets-xcode,dumganhar/libwebsockets,JoakimSoderberg/libwebsockets,JoakimSoderberg/libwebsockets,jmillan/libwebsockets,wenqiwooo/syslog-libwebsockets,ayosec/libwebsockets,ayosec/libwebsockets,giovanni-liboni/libwebsockets,cambridgehackers/libwebsockets,dtebbs/libwebsockets,FabianAussems/libwebsockets,abligh/libwebsockets,kaostao/libwebsockets,kaostao/libwebsockets,FabianAussems/libwebsockets,ralight/libwebsockets,RobertoMalatesta/libwebsockets,dtebbs/libwebsockets,IOPOINT/libwebsockets,giovanni-liboni/libwebsockets,RobertoMalatesta/libwebsockets,sanyaade-teachings/libwebsockets,jmillan/libwebsockets,ralight/libwebsockets,GroundControl-Solutions/libwebsockets,RobertoMalatesta/libwebsockets,mushroomgithub/libwebsockets,sanyaade-teachings/libwebsockets,bovine/libwebsockets-bovine,mushroomgithub/libwebsockets,SoapyMan/libwebsockets,canopy-project/libwebsockets-canopy,lukasz-skalski/libwebsockets,mralexgray/libwebsockets-xcode,SoapyMan/libwebsockets,pebble/libwebsockets,turbulenz/libwebsockets,PureSwift/libwebsockets,pombredanne/libwebsockets,jmillan/libwebsockets,PureSwift/libwebsockets,eagafonov/libwebsockets,mushroomgithub/libwebsockets,mralexgray/libwebsockets-xcode,bovine/libwebsockets-bovine,sartura/libwebsockets,dumganhar/libwebsockets,wenqiwooo/syslog-libwebsockets,sartura/libwebsockets,peeracle/libwebsockets,tn0502/libwebsockets,cambridgehackers/libwebsockets,pankona/libwebsockets,sartura/libwebsockets,GroundControl-Solutions/libwebsockets,GroundControl-Solutions/libwebsockets,pombredanne/libwebsockets,Chilledheart/libwebsockets,tn0502/libwebsockets,dumganhar/libwebsockets,ayosec/libwebsockets,FabianAussems/libwebsockets,giovanni-liboni/libwebsockets,ralight/libwebsockets,lukasz-skalski/libwebsockets,Chilledheart/libwebsockets,sartura/libwebsockets,tn0502/libwebsockets,tn0502/libwebsockets,kaostao/libwebsockets,lukasz-skalski/libwebsockets,peeracle/libwebsockets,pankona/libwebsockets,eagafonov/libwebsockets,dtebbs/libwebsockets,FabianAussems/libwebsockets,gameclosure/libwebsockets,mralexgray/libwebsockets-xcode,cambridgehackers/libwebsockets,DaYeSquad/libwebsockets,bovine/libwebsockets-bovine,abligh/libwebsockets,pebble/libwebsockets,JoakimSoderberg/libwebsockets,ayosec/libwebsockets,eagafonov/libwebsockets,ayosec/libwebsockets,abligh/libwebsockets,canopy-project/libwebsockets-canopy,maws/libwebsockets,pombredanne/libwebsockets,weimingtom/libwebsockets,labatrockwell/libwebsockets,sartura/libwebsockets,jmillan/libwebsockets,pankona/libwebsockets,PureSwift/libwebsockets,DaYeSquad/libwebsockets,dtebbs/libwebsockets,IOPOINT/libwebsockets,IOPOINT/libwebsockets,RobertoMalatesta/libwebsockets,maws/libwebsockets,SoapyMan/libwebsockets,labatrockwell/libwebsockets,pankona/libwebsockets,ralight/libwebsockets,SoapyMan/libwebsockets,bovine/libwebsockets-bovine,giovanni-liboni/libwebsockets,weimingtom/libwebsockets,DaYeSquad/libwebsockets,turbulenz/libwebsockets,canopy-project/libwebsockets-canopy,GroundControl-Solutions/libwebsockets,maws/libwebsockets,PureSwift/libwebsockets,labatrockwell/libwebsockets,antmicro/libwebsockets,cambridgehackers/libwebsockets,sartura/libwebsockets,PureSwift/libwebsockets,lukasz-skalski/libwebsockets,pebble/libwebsockets,peeracle/libwebsockets,gameclosure/libwebsockets,dumganhar/libwebsockets,SoapyMan/libwebsockets,mushroomgithub/libwebsockets,wenqiwooo/syslog-libwebsockets,dumganhar/libwebsockets,gameclosure/libwebsockets,antmicro/libwebsockets,labatrockwell/libwebsockets,weimingtom/libwebsockets,sanyaade-teachings/libwebsockets,maws/libwebsockets,antmicro/libwebsockets,eagafonov/libwebsockets,gameclosure/libwebsockets,JoakimSoderberg/libwebsockets,ralight/libwebsockets,peeracle/libwebsockets,pombredanne/libwebsockets,kaostao/libwebsockets,Chilledheart/libwebsockets