Add test code for periodic task to enable wifi.
Add some logging.