Do not change the database in multithreaded environment