Refresh tokens in a separate thread
Refactor the way Galaxy refreshes token to avoid race condition and make sure tokens are always fresh
issue