correction multithreading sqlite