add helper to ping if no active socket