wait for socket after mysql start