WFLY-4008 Update to reverse calling the setupActions teardown
Merge pull request #7023 from zhfeng/WFLY-4008

[WFLY-4008] MBean deployment causes  javax.naming.NameNotFoundException: java:comp/BeanManager