Fixed the ping logic not to fail immediately sometimes if hnetd is very busy (the next_time calculation was bit optimistic).