vscode-languageserver based servers terminate if we send error in response. (cherry picked from commit 33a748a4)