Remove FIN from retransmission queue when ACK arrives, and add FIN to retransmission queue when sent.
Wait for correct state in connect() test