Use Network.Simple.TCP.closeSock instead of Network.Socket.sClose
Remove useless contextCloseNoVanish