Fix Issue #138, orphaned recid in AsyncWriteEngine rollback & closing.