Make Rotate not start an unnecessary task when the Cancel argument is used.