What if we do 3 pwrites, and the one in the middle fails? This code continues writing, shouldn't it stop?