Return after emitting error and avoid sharing streams