Added excessive logging to find out where the task stealing thread gets stuck.