Fixed shell switches to local on failed ping