fix empty thread title due premature HTTP connection closing