Wait on reset.