How to execute code at the very end of a transaction in Alfresco