Note: we can't use __destruct() here because this would lead Doctrine to create a proxy method __destruct() which
will run __load(), which in turn will trigger the SQL protection in Flow Security, which will then discover
that a possibly previously existing session has been half-destroyed already (see FLOW-121).