On the nonlocal effective action at finite temperature