This was done by introducing a new ThreadedCompleter class that descends from Completer. Both JediCompleter and FilenameCompleter descend from ThreadedCompleter.