Merged _ping method