(#2662) - only create one db instance when syncing