Use the "active" flag in PrepareSockets() instead of LockHasError().
Attach a file by drag & drop or click to upload