fix, twsapi's socket descriptor might be -1 if disconnected, BTW it should be always -1 in this case but this must be fixed there
fix, twsapi's socket descriptor might be -1 if disconnected,
BTW it should be always -1 in this case but this must be fixed there

samanalysis/twstools,samanalysis/twstools,samanalysis/twstools