Fixed broken timeout logic in pinger