generate an id for each ws message, and only listen for index responses for that id
results listner removes itself when it gets a message for its id
fixed message mix-up between index builds and queries