adding missing release calls to connections