fix delay on quitting insert mode