A former CIA analyst, Mr McCloskey writes novels that bristle with tradecraft and gadgets.