Refactor:change short conn to long conn