Closing sql statements to prevent memory leaks