Caliphate defeated but IS remains a threat