fix a bug which causes no log after restart libshadowsocks backend.
change return type to void in hread stop and start.