Merge "BUG-650: clarify TransactionFactory close state handling"