close shave /ˈklos, ˈkloʃ-/
close shave n : something achieved (or escaped) by a narrow margin [syn: close call, squeak, squeaker, narrow escape]