On connect run library sync in background