$client->close; my $thread = threads->self->tid(); kill -9, $thread || die $!;