Sales Invoice Batch job gets stuck in executing state

We are using AX 2012 R3 CU9. We have 2 AOS Servers & one of them is main AOS server where users connect & 2nd is a batch server. All the batch jobs are working fine on the server, except the sales invoice posting job. We are using the standard utility to post invoices. Since last few days, the job gets stuck at 99.2% during execution and never completes executing. We have to cancel & we rerun it & same issue happens. We tried to reschedule a new job & faced the same issue. Is there a particular reason why all jobs are working except this one?