fix bug:try to new a pop thread to read the message.delete the old class.