Handle db closing correctly in call cases.
0.0.4