For 3 pools, the program takes about 4min do finish "pools request", then another 4min to finish "miners request", which gives around 8min for each loop.
Which cpu do you use?
I think it's not CPU. I had the same problem and turned to competing programs. MC/Nemos/HashAuger have no problems quering the same pools (of cause if my IP issn't baned). I think some debug option would be usefull to understand what's wrong.