added crash handling support to transactions and a global OnExit listener