sqlite: finalizing