Changed wait for result time from 2 to 5 seconds