Fix client destruction when there is an InsertMode mode still alive
Fix client destruction when there is an InsertMode mode still alive

mawww/kakoune,Somasis/kakoune,occivink/kakoune,alexherbo2/kakoune,danr/kakoune,danr/kakoune,ekie/kakoune,mawww/kakoune,alexherbo2/kakoune,Somasis/kakoune,mawww/kakoune,jkonecny12/kakoune,jjthrash/kakoune,danr/kakoune,danr/kakoune,ekie/kakoune,casimir/kakoune,casimir/kakoune,lenormf/kakoune,jkonecny12/kakoune,jkonecny12/kakoune,jkonecny12/kakoune,jjthrash/kakoune,lenormf/kakoune,Somasis/kakoune,casimir/kakoune,alexherbo2/kakoune,Somasis/kakoune,ekie/kakoune,occivink/kakoune,mawww/kakoune,occivink/kakoune,jjthrash/kakoune,jjthrash/kakoune,occivink/kakoune,ekie/kakoune,casimir/kakoune,lenormf/kakoune,lenormf/kakoune,alexherbo2/kakoune