closed a couple of sql connections