Basic ping range functionality. But handles not all exceptions for now.