All promises are not resolved when i upload multiple files.
Hello,
I have a problem when i upload multiple files, i don't know why all the promises are not resolved.
Please help me.
When I upload a single file the promise is resolved well and I can upload the file to an S3 service, but when I upload multiple files, say 3 or 4 files, only one or two file is resolved and everything else is pending.

Here is what I have in the terminal

![image](https://user-images.githubusercontent.com/18377068/144587905-5cdb6a9a-2210-4157-8bb1-f38014818351.png)

Here is the code

![image](https://user-images.githubusercontent.com/18377068/144588124-a43e3fe5-e10c-4285-857c-878279f2ddf8.png)
