A Unified Early Termination Technique for Primal-dual Algorithms in Mixed Integer Conic Programming