* commit '98b07f4e1ea7c5a861c2c66278816ab6c8fd02d1': Do not do a layout and write while a cancellation is in progress.