Move connecting to the message broker inside the loop.. now tear down and reinitate call every second