make clearing of m_RecentErlangPtr the threading sync, not m_CloseRequested