Restore clean shutdown of EJB components.

Fixes org.jboss.as.test.clustering.cluster.ejb.remote.RemoteFailoverTestCase regression.