refine tests: add time limit for curl; output shadowsocks logs