dscuda searching function using timedout.