transaction recovery now working again, which was broken

- fixed NPE with transaction recovery enabled
- fixed performance problem related to transaction recovery and connection handle recreation