Disallow running async tasks with lookup plugins

Fixes #2897