JBTM-1356. Async prepare implementation fixed to prepare all 2PC resourc...

...es before 1PC resources