fix errors in SocketThreadManager's hashmap iterator,still have bugs in getting online list