guard RefreshPeer():sync() not to insert the same record twice.