It is wise to clear ur loans before leaving to Canada since if ur visa is cancelled u could be stopped at uae immigration for having uncleared loans.
Next if u leave to canada without cancelling uae visa and do not come back after 6 months they will put ur name in black list.
Best is to contact bank and make a schedule for the pending payments and leave peacefully.