limit the scope of mutext when getting IngestManager singleton instance