wait jboss script fix