Python 3.7 or higher. Install: pip install aiohttp-retry. Important: you can proceed server response as an parameter for calculating next timeout. However this response can be None, server didn't make ...