Timeout to get resource.