CurlInputPlugin: fix crash after second init call

The second time init was called, http_200_aliases pointed to a freed pointer
and leaded to a SEGFAULT.
android/Bridge: add shutdown()

Break the mainloop and terminate run call.