added call dirty db close function - dirty 0.9.9