Coup prevented but threat remains: Turkish min.