Dropped deque() in Connection.transaction to reduce memory fragmentation.

This edit seems to have reduced some of the fragmentation long-running processes experience after executing very large transactions.