Rather than actually accepting the connection, REJECT. This will avoid CLOSE_WAIT.
Attach a file by drag & drop or click to upload