[WFLY-2869] Properly close JMS connections during tests

JIRA: https://issues.jboss.org/browse/WFLY-2869