tcp: fix fin_wait_1 condition to send fin