Most probably this error is due to multiple connection,and also it is a bad practice to use multiple connections when connecting to SQLite