Made transaction service more resilient to tx leaks.

- Catch throwable rather than Exception in a few cases
  where a Throwable might have lead to a leak of transactions.
Merge pull request #2202 from jakewins/2.1-txleakmaybe

Made transaction service more resilient to tx leaks.