Currently every LS operation creates a new socket connection, which is closed once all data is transferred. It should be possible to reuse connections for multiple sync operations.
We can also create a connection in advance after the application is restarted.