When the socket is closed, the 'socket' instance is null.
Attach a file by drag & drop or click to upload