wait for mysql port after restart