Fix android shudown. Not sure exit(0) is actually the best way to do it, but seems working pretty well