there maybe new stratum message arrive when write message out