AGENTS-102 - Add 'shutdown' method for graceful worker close