Revert "Don't close listenThread that way."

This reverts commit f5654b23be61105b02ffa46abd75556c12472b3c.