FIXED: thread_send_message/3: failed to reset `wait_for_drain` when timelimit is exceeded.  Causes an assertion error if the queue is garbage collected.
FIXED: thread_send_message/3: failed to reset `wait_for_drain`
when timelimit is exceeded.  Causes an assertion error if the queue
is garbage collected.

edechter/swipl-devel,edechter/swipl-devel,edechter/swipl-devel,edechter/swipl-devel,edechter/swipl-devel