The client often fails to connect over Tor due to timeout. It might be a good idea to make it configurable. It's possible can set socket timeout though, which is good.