Make AbstractPingPongTransactionChain.close() idempotent