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

currently it creates 2 e.g. double http calls all the way through