This works fine in vim 8:
autocmd CursorHoldI * stopinsert
After about 5 seconds or so of inactivity in insert mode it automatically returns to normal mode.
However, in neovim I use the deoplete autocompletion plugin, which is great... except it stops this from working. Any way to have my cake and eat it too?