No, even if you close your credit card with the balance, you will charge interest and, finally, have to pay much more than you had to pay. It will also impact your credit report; we advise you to clear your dues first.