Simple ping implementation.