A lot of the RPC batch operations (like in pool_prices.py) are making synchronous calls in loops. They should instead be called async.