[
WFCORE-2828]: org.wildfly.core.test.standalone.mgmt.events.ProcessStateListenerTestCase from wf-core fails intermittently
Executing stopping of the server out of the management-thread for a reload.
Preventing the ProcessStateListenerService from stopping while it is notifying its listener.
Cleaning the code :
* making the test code more usable
* using capability name for dependencies