fix sqlite connection can't shared within thread (not process)