Change order of disposing in StreamEventProducer

Moved Dispose(true); line to just above _disposed = true; line.  This
will make sure dispose is finished after publishing is completed.