mqtt loop takes 1 sec by default. Removed redundant sleeps