Put the sender thread inside this class.