Improved management of exchanged messages
handle counters for readers and writers