Tools/ConnectionPatcher: Pause program when an error happens

Similar to what is done in mmaps_generator and vmap4_extractor.
This hopefully reduces the number of problems that Windows users have
when patching fails.

Closes #13580