[tools] testbot/LogUtils: Don't close nonexistent test units.