Fix problem where messages were getting sent before receipt of the previous message had been acknowledged.