Remove unnecessary connection allocation