propogate write stream errors to reader stream for client