Well, it looks to me like it's working the way it should. Your context is wifi connected, your task is wifi off. So of course it's going to keep cycling because your profile is exiting as soon as the wifi is shut down in your task.
Adding the exit task would make it restart.
There is a check box you could Deselect in the properties of the profile to not restore the settings. That should keep the wifi off until you enable it again.