m_sqlite3 Fix cleanup of unsuccessful database connections