[WFLY-2782] JMXConnector should be closed to avoid leaking endpoints in ...

...testsuite

https://issues.jboss.org/browse/WFLY-2782