fix subtle race in ListContainers

Signed-off-by: Alex Suraci <asuraci@pivotal.io>