Removed unused variable
Fixing a race condition in Completer

Since we use one thread per request, one thread could change the
completions_cache while the other one was depending on the data in it.