If you do end up going back to India - do speak to you bank before you go. I know companies who will cancel your residence permit, let you book your flight... then make sure that police meets you at the airport.
Make sure you agree on repayments with bank if you are to leave Qatar.