Add support for ping timeouts