Catch exception during ping process
add debug log