docstr: Finish memory monitoring session
code: def finish(cls):
      """
      Finish memory monitoring session
      """
      cls.log(
          additional_info="finish", logging_level=45
      )  # message logging level
      tracemalloc.stop()
      cls.is_active = False
  
file_path: FEDOT/fedot/utilities/memory.py
imports: import logging
  import tracemalloc
  from typing import Optional
  from golem.core.log import default_log
label_desc: Use image node_id 2 for calling the MemoryAnalytics obj's underlying member method code with example usage: obj.finish(cls) without return types