This version pass the stress test of sending 1000 requests for tokens. the variable requestNum of Component class controlls the number of request