Fix _set_task_join_will_block to actually use argument.