use DCG for markov chain
more readable ping parser
restart on failure