def METHOD_NAME():
    """ Shutdown the cache context for this session and trigger any pending
        cleanup actions required.
    """
    try:
        cache_context = get_cache_context()
        cache_context.cleanup()
    except CacheException:
        # it seems that the cache was already shut down.
        pass
    set_cache_context(None)