[SP-481] Patch request for PDI-8262 - Failed to execute runnable (org.eclipse.swt.SWTException: Widget is disposed): further steps

Backported fix for PDI-8262 to 5.0