Foreclosure may affect your credit score.
Typically foreclosure charges are waived off after a time period depending on the duration of your loan. Have you checked your amortization schedule? The first few years of EMIs, the interest component may be more than the principle.