(#2662) - only create one db instance when syncing
(#2543) - test to reproduce call stack error