Restarts a running jboss by issuing kill and watching it shut down.  Only then it restarts