Premature session shutdown

Hello All,
Could you please help with following. I am having an issue when the robot tries to run a macro which takes approx 6 hours and then it should continue with other activities. Once the macro is completed the process throws following error: The server did not provide a meaningful reply; this might be caused by a contract mismatch, a premature session shutdown or an internal server error
Is there any way how to avoid this and keep the process running normally once the macro finishes?
Tx

Having the same issue. First time i’ve encountered this tho. So might be a one time thing.