public PersistCommandsHandler(IAppendBatch appendBatch) { _appendBatch = appendBatch; signal = new EventWaitHandle(false, EventResetMode.AutoReset); }