android/Bridge: add shutdown()

Break the mainloop and terminate run call.