clear internally holding queries when executeQuery is called.

Fixes #9