Changing Q.all to Q.allSettled