Added stop counter to stop condition logic, hopefully fixed network flood.