eventsWritten incremented on every msg written