Bugfix: ignore the 0 time delta when cannot connect to the host.