WFLY-2146 Close down DomainControllerClientConfig

Fixes some client side leaks that make the testsuite more fragile in resource constrained environments.

Commit also has some random tweaks to make IDEA inspection warnings go away. Sorry about that.