connecting to mqtt