running plugins in background thread