printing messages for infinite loop by unconsumed stream