Fix transaction retry on instance termination - EUCA-6412

Closed the outer transaction to ensure inner transactions are retried.

EUCA-6412
Merge remote-tracking branch 'origin/dev/sjones/EUCA-6412' into testing