add msyql connect retry