Use allSettled instead of allResolved