Added timeout to unload CPU.