public void Start(ISenderCallback callback) { _endpoint.Connect(); _callback = callback; _serialization = new ActionBlock <Envelope>(e => { try { e.EnsureData(); _sending.Post(e); } catch (Exception exception) { _logger.LogException(exception, e.Id, "Serialization Failure!"); } }); _sending = new ActionBlock <Envelope>(send, new ExecutionDataflowBlockOptions { CancellationToken = _cancellation }); }