coverity 83684 more ways to close and use freed wsi
coverity 83684 more ways to close and use freed wsi

Signed-off-by: Andy Green <b471f5a494de34531c9e5a6e15abda71edd49104@linaro.org>

RobertoMalatesta/libwebsockets,SoapyMan/libwebsockets,jmillan/libwebsockets,peeracle/libwebsockets,RobertoMalatesta/libwebsockets,cambridgehackers/libwebsockets,dumganhar/libwebsockets,sanyaade-teachings/libwebsockets,sartura/libwebsockets,ralight/libwebsockets,ralight/libwebsockets,wenqiwooo/syslog-libwebsockets,dumganhar/libwebsockets,jmillan/libwebsockets,gameclosure/libwebsockets,turbulenz/libwebsockets,RobertoMalatesta/libwebsockets,jmillan/libwebsockets,JoakimSoderberg/libwebsockets,sanyaade-teachings/libwebsockets,sartura/libwebsockets,pankona/libwebsockets,JoakimSoderberg/libwebsockets,mushroomgithub/libwebsockets,IOPOINT/libwebsockets,IOPOINT/libwebsockets,sanyaade-teachings/libwebsockets,pombredanne/libwebsockets,JoakimSoderberg/libwebsockets,sartura/libwebsockets,PureSwift/libwebsockets,GroundControl-Solutions/libwebsockets,cambridgehackers/libwebsockets,Chilledheart/libwebsockets,JoakimSoderberg/libwebsockets,maws/libwebsockets,GroundControl-Solutions/libwebsockets,pankona/libwebsockets,mushroomgithub/libwebsockets,Chilledheart/libwebsockets,PureSwift/libwebsockets,peeracle/libwebsockets,turbulenz/libwebsockets,cambridgehackers/libwebsockets,wenqiwooo/syslog-libwebsockets,pankona/libwebsockets,GroundControl-Solutions/libwebsockets,SoapyMan/libwebsockets,tn0502/libwebsockets,pombredanne/libwebsockets,RobertoMalatesta/libwebsockets,mushroomgithub/libwebsockets,GroundControl-Solutions/libwebsockets,turbulenz/libwebsockets,PureSwift/libwebsockets,PureSwift/libwebsockets,pombredanne/libwebsockets,maws/libwebsockets,dumganhar/libwebsockets,pankona/libwebsockets,wenqiwooo/syslog-libwebsockets,SoapyMan/libwebsockets,maws/libwebsockets,Chilledheart/libwebsockets,dumganhar/libwebsockets,dumganhar/libwebsockets,IOPOINT/libwebsockets,Chilledheart/libwebsockets,ralight/libwebsockets,PureSwift/libwebsockets,SoapyMan/libwebsockets,ralight/libwebsockets,gameclosure/libwebsockets,pombredanne/libwebsockets,GroundControl-Solutions/libwebsockets,jmillan/libwebsockets,peeracle/libwebsockets,tn0502/libwebsockets,ralight/libwebsockets,mushroomgithub/libwebsockets,peeracle/libwebsockets,maws/libwebsockets,sartura/libwebsockets,tn0502/libwebsockets,cambridgehackers/libwebsockets,gameclosure/libwebsockets,sartura/libwebsockets,SoapyMan/libwebsockets,sartura/libwebsockets,tn0502/libwebsockets,peeracle/libwebsockets,sanyaade-teachings/libwebsockets,gameclosure/libwebsockets,sartura/libwebsockets,wenqiwooo/syslog-libwebsockets