replace old timeout stuff to speed up leaving insert mode.