wait for eventserver to be ready