def METHOD_NAME() -> None:
    global _STATSBEAT_METER_PROVIDER
    shutdown_success = False
    if _STATSBEAT_METER_PROVIDER is not None:
        with _STATSBEAT_LOCK:
            try:
                _STATSBEAT_METER_PROVIDER.shutdown()
                _STATSBEAT_METER_PROVIDER = None
                shutdown_success = True
            except:  # pylint: disable=bare-except
                pass
        if shutdown_success:
            with _STATSBEAT_STATE_LOCK:
                _STATSBEAT_STATE["SHUTDOWN"] = True