Have a method that do service URL discovery with custom timeout so that the timeout can be provided. This avoids test failure on slow machine.
Merge pull request #485 from caskdata/feature/better-service-test-api

Have a method that do service URL discovery with custom timeout.