Refine retry handler logic for LBClient