adding error handing for push streams