kernel - Fix improper persist state in tcp