fix network on main thred exception refreshing auth token
file sync improvements