add timeout for running discovery, so discovery mode was canceled if no results was fount within 10 seconds
add timeout for running discovery, so discovery mode was canceled if no results was fount within 10 seconds