SocketAPI: Handle top sync folder correctly.