public static bool ConnectThriftPipeSession(string pipeName, bool autoClose, float timeout)
	{
	    CheckAndCloseExistingSession();

	    _defaultSession = CreateSessionObject();
	    return _defaultSession.ConnectThriftPipeSession(true, pipeName, autoClose, timeout);
	}
	public static bool ConnectSessionSyncUsingThriftPipe(
	    string pipeName, bool autoClose,
	    float timeout, bool logError)
	{
	    if (_defaultSession == null)
	    {
		RecreateDefaultSessionData();
	    }
	    return _defaultSession.ConnectThriftPipeSession(
		true, pipeName, autoClose, timeout,
		logError, false);
	}