add proper methods to provide timeout from xa resource to underlying tra...

...nsaction implementation, fixes #2569