Using that method, when you run a task in AWT Thread,
it will wait for all background task causing some unwanted delays.
If you need calling a task after a background work, please add your
runnable to the EDT thread yourself at the end of the background task