Add early return to resolve() when already resolved