he actually used them to take the city and also candarli halil was in secret communication with the byzantines, as of loukas he was the last grand duke of byzantine so seeing him as potential threat that he could raise resistance or rebellion anytime soon, so the sultan had to eliminate the source.