resolver.timeout should be resolver.lifetime