Due to the weird way that socksta are deallocated from the Protocol Manager std:list, there is some kind of corruption happening when the program exits with an active connection. I've only seen it in Win32 so far.