added abortLiveTransactions to exitCleanly path. fixes #304
Merge branch 'bugs/304'