BISERVER-4477 Fix stream closed