Use queued connection for task completion signal to improve GUI responsiveness.