Same with socket; call this `event_loop`?