class Listen::Event::Loop

def stop

def stop
  transition! :stopped
  @wait_thread&.join
  @wait_thread = nil
end