Reduces wait_for_data sleep time and using now QoS 0 on publish messages