wait for mysql on very slow machines