First thing first expatinjkt....BLOODY BREATH!!!!!! Stressing ain't going to help. As Rudolf Abel said in Bridge of Spies when asked if he was worried, 'Why? Will it help?'
Second, with your personal matters in Jakarta, can they been worked on abroad or with someone you trust?
Third, have you explained the situation to the school? Perhaps they will allow you to take the time off and then return. As snpark mentioned about the tourist visa, it is unlikely you will be able to return to Indonesia
With very limited information and I get it, you don't want to completely open up to strangers on the interweb, it is hard to give a clear or better answers. We are kind of like 7-11. We aren't always doing business, but we are always open.