void stop(AsyncTcpSessionInterface_ptr session)
    {
        session->stop();

        mConnections.erase(session);

    }
    void begin(AsyncTcpSessionInterface_ptr session)
    {
        mConnections.insert(session);

        session->start();


    }
	void begin(AsyncTcpSessionInterface_ptr session) {

		std::unique_lock<std::recursive_mutex> lock(mLock);
		connections.insert(session);
		session->start();
	}
	void stop(AsyncTcpSessionInterface_ptr session) {

		std::unique_lock<std::recursive_mutex> lock(mLock);
		session->stop();
		connections.erase(session);
	}