Fixed to not end the whole stream.