lib: allow reusing db and pool
0.1.3