$counter++; if ($counter < 18) { print "\n-E- TimeOut.\n"; exit 1; }