LocalServer: better synchronization