refactor: improve performace in less connection