diff --git a/autoload/neosnippet/handlers.vim b/autoload/neosnippet/handlers.vim
index db27759..142ab15 100644
--- a/autoload/neosnippet/handlers.vim
+++ b/autoload/neosnippet/handlers.vim
@@ -70,10 +70,9 @@ function! neosnippet#handlers#_all_clear_markers() abort "{{{
     while !empty(neosnippet#variables#expand_stack())
       call neosnippet#view#_clear_markers(
             \ neosnippet#variables#expand_stack()[-1])
+      stopinsert
     endwhile
   finally
-    stopinsert
-
     call setpos('.', pos)
   endtry
 endfunction"}}}