Simplify promise usage in registry by using promise.timeout and
letting promise infrastructure turn resolver function exceptions into
rejections