Update logPendingRequests to use keepAliveAgent.