Correct autocomplete
Add a system to end query correctly
Merge pull request #5 from brice/master

Correct an issue "triggerEnd isn't stopping the server queries"