Limit the number of retries while searching the home switch to 10. This makes
sure the loop terminates even if no home switch is found.