It is also had been happened to a friend, he left qatar 2 years ago with outstanding bank loan and came back for working in the same company.
After several months he was going to the jail.
Some idea to make negotiation with the bank is ok, as long as you have paper of agreement.