Use PTY for log sync, handle many connections well