Reduce connect and read timeout when pinging the registry (fixes issue #1363)