Fix SQLite lock bug !