renamed class to ListenerThread