ejbca_control: Wait for JBoss to finish starting after restart