Prevent race conditions during CLI install  (#2523)

* Use a special exitcode when connecting to CLI as client. Do not run upgrade step thereafter.

* Piggyback with NBJLS server relaunch after installation completes.

* Delay and/or disable the restart LSP client after connection termination
with the hope to finish install tasks meanwhile and then restart explicitly

* Wait after last child closes on Win.

* Fixed launchers release number -> release.

Co-authored-by: Jaroslav Tulach <>
2 files changed