test wait_fin_timeout