Returning on write() if writeBlock() fails.