Fix Flatten not canceling response after cache