Don't try to list threads if there is no program.