This will avoid random crash due to dangling pointer in case the DB was released
Attach a file by drag & drop or click to upload