if (FileUtility.exists(srvProcess.getPidFileName())) {
SCMgmtClient clientMgmt = new SCMgmtClient(TestConstants.HOST, srvProcess.getSCPort(),
srvProcess.getConnectionType());
clientMgmt.attach(timeout);
String serviceName = srvProcess.getServiceNames().split(",")[0];
clientMgmt.enableService(serviceName); // service might be disabled during tests
if (srvProcess.getCommunicatorType() == TestConstants.COMMUNICATOR_TYPE_SESSION) {
// Create session with KILL command
SCSessionService scSessionService = clientMgmt.newSessionService(serviceName);
SCMessage scMessage = new SCMessage();
scMessage.setSessionInfo(TestConstants.killServerCmd);