Error Handling conditions on Pinging