Handle write error in callback only.