very urgent: make sure receiver thread of connectionmanager is threadsafe (event_type_receive, findclient)