Convert shutdown methods to Horde_Queue tasks