Add comment explaining why we release connections
Add tests