use only one map to store sockets, need to test on two machines