wait jboss script