Process the rest of the stream in the statemachine