WFLY-3505 Check if service is up before using, to work around problem.