reduce cpu use when no data is flowing