Error When Printing - The Main Thread is Blocked

The printer is throwing an error occasionally while printing saying “The main thread is blocked”. The error has occurred midway through printing several times whilst using both WiFi and USB connections.

Does anyone have any ideas on how to fix this? or what this error is trying to indicate?

Cheers