Bugfix in FreeBSD thread post-mortem