Fixes timeout on service discovery.