Added get_results exception test
Moved time delay in get_results to main function