Metastable configurations on the Bethe lattice