* Respect semaphore * Add retries when connection reset * Also catch OSError from aiohttp when authenticating