Kenny, Patrick William, active 1907-1948, Captain of the War Office