Block the init script until port 8081 is listening