Allow AbstractTransaction.markReleased() to be called twice