moved connection management to DBHelper for simulate-mode performance