changed to loop_forever handles reconnecting