When a filetype changes and no longer matches the rules for an LSP, stop the server.
A FileType autocommand should work. This was suggeted by pyrho on #neovim.
FileType