fixing sql reads to use using to ensure connection close