Extending the use of a a sqlite connection concurrently (thread, processes) and through file locking