proper usings around sqlite connection