Wait jboss script fix