Would love if this could be threadsafe, often want a few tcp sockets open at same time, some via socks and some not