remove `stream || req` and just set `stream = req` in the identity case