Add support for tracing so that consumers can know how much time is spent on the token refresh mechanism