Disable background thread