[PATCH v3 4/7] tcp: Fix closing logic for half-closed connections