more fixes in requests retry logic.