Short answer: Check messages.pl
In tyring to locate the source of this error message
% The following threads wouldn't die: ['httpd@8080_1']
First searched GitHub for The following threads wouldn't die
with no luck.
Then Googled for The following threads wouldn't die
which a few entries down listed swipl/messages.pl at cb3c3352e8158fc2f79ed64ba24091895dc9baad · SWI-Prolog/swipl · GitHub
messages.pl had the error message as
prolog_message(threads_not_died(Running)) -->
[ 'The following threads wouldn\'t die: ~p'-[Running] ].
which explains why finding the message was a bit hard.