attempt tries to resolve promises