JBTM-1356. Async prepare implementation fixed to prepare all 2PC resources before 1PC resources