Separating the basic sets of a nontransitive Anosov flow