Server Crashes When Client Refreshes During File Upload
Summary:
Using graphql-upload in a NestJS app, refreshing the client during a file upload causes the server to crash.

Steps to Reproduce:

Start a file upload from a client (React app).
Refresh the page mid-upload.
Server crashes and becomes unresponsive.
Expected Behavior:
The server should handle interrupted uploads gracefully without crashing.

Environment:

graphql-upload version: 13
NestJS version: 10.0.2
Node.js version: 16
Possible Cause:
Uncaught errors from interrupted createReadStream operations.

Suggestions:
Handle stream interruptions gracefully and update the documentation for safe error handling during uploads. Let me know if more details are needed!