Restart obfs4proxy if it crashes
If the obfs4proxy process is killed (e.g. due to low memory), Tor detects that it's died but doesn't restart it. Setting DisableNetwork
to 1 and then back to 0 causes Tor to restart obfs4proxy.
Log message from Tor when obfs4proxy dies:
TorPlugin: WARN The connection to the SOCKS5 proxy server at 127.0.0.1:42125 just failed. Make sure that the proxy server is up and running.