Better version of ping