Update console command completion for improved thread safety