when resign, peer manager should stop if it is not syncing
Merge remote-tracking branch 'origin/develop' into develop