tcp: fix timer based recovery exit condition