Set StateCancelled concurrently so that steps can inspect it