Metastability of hadronic compact stars