Subscribe to events.

def listen_to_event_updates():
    """Subscribe to events."""
    def callback(event):
        print('Event:', event)

    client.create_event_subscription(instance='simulator', on_data=callback)

    sleep(5)