Change in ovirt-engine[master]: core: Fixing some race during start up of JBOSS