Changed waiting time
Changed caching method
Changing caching method. Set time to a large value when no result is returned