Shutdown task executor explicitly.