Make services cleanup be more resilient by parsing version numbers beforehand
When calling close on a dropped connection an InvalidOperationException is thrown