Changes to allow resuming stopped sync without internal hacking.
Changes to allow sync process to be resumed after another hive sync
spawn. If collected block range is still less than head block, or test-max-block setting, sync shall be continued without any need to internal hacking.