Fixing shadowsocks, redsocks init race condition issue