Fix off-by-one invalid read.
When destroying an entire connection, destroy transactions even when they are incomplete.
Fix a memory leak.
Fix memory leak in a test.
Fix invalid read.
Fix invalid read.
Fix memory leak in a test.
Fix memory leak.
Fix memory leak on a partially processed response.