Test for multithreading with twisted framework
Thread safe sqlite use