connection: check for transaction before attempts to access objects in i...

...t

so Haraka doesn't crash