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