Update the logic to check whether the event stream is exist.