Add loop to wait mysql starting