Avoid unhandled rejection when all() or any() are handed rejected promises