ECBackend: don't leak transactions

Fixes: #7539
Signed-off-by: Samuel Just <sam.just@inktank.com>