Properly reset timeout
Fix some bugs in incremental update.

Pkg repo now does not emit manifests for duplicate origins packages.

If we have already up-to-date package in our local repo, remove it
from hash and do not allow duplicate inserts into a hash.

Free items from incremental update hash when either delete a package
from update hash or update it.