slowing down event loop
indicate waiting when block is sent, make sure window is closed when clearing the job