Fixed #12118 - Added ability to share sqlite in-memory database in threads in >=python3.4