code: def aiohttp_socket_timeout(socket_timeout_s):
    
    return aiohttp.ClientTimeout(total=None,
                                 connect=None,
                                 sock_connect=socket_timeout_s,
                                 sock_read=socket_timeout_s)
docs: Return a aiohttp.ClientTimeout object with only socket timeouts set.