fixed bug: getting jboss pids to be stopped