Medium: jboss: add a stop check before the stop processing

When a user sends SIGKILL and stops, return OCF_SUCCESS.