make read send loop continuous so that if data is > bufflen then data isnt lost.
put mutexes around pairSockets code so wont break when removing pairs from map.