it was an old defense mechanism he 'd developed to keep himself sane while working on cases that had run the gamut of boring-as-hell busts to man-we-barely-escaped-with-our-skivvies matters of national security .