I do believe that a priest can validly exercise the Sacrament of Reconciliation, even if he himself is in a state of mortal sin, so you needn't worry if that's the case.
Only God can reconcile you. Forgiveness comes from God not the Priest. Christ said go and sin no more. Thats it. Even when he forgave sins he said your sins are forgiven without even asking the person to rattle them off in a stupid confessional box. You can have a direct relationship with God this very moment. You don't need a priest.