Fixed a bug

- There was a bug on the StreamListener class that prevented to
recognize that a snapshot was needed when the a connection to the
streaming server was established