Revert "Fix tcp data sending"

This reverts commit 5f6e14cd5f5481e1beeeb5d94a3c0f95c286d47b.