[JBTM-2094 JBTM-2102] add synchronous recovery for CR tests
JBTM-1702 Make sure to return an exception to the user if xa_end fails