added timeout to search results

Added timeout function for results. Change the second in searchTenBoxes function to change the timeout length.