sync all pages we have before closing the pagemanager
clarify need for stopping replicationEndpoint