Revert "fixed a network connection leak"

This reverts commit 82edf7aad39f193233ec8aa8246ee9e299ca3716.