ignore oserror exception when scaling down (dask#4591)
@@ -201,6 +201,7 @@ class AdaptiveCore:
if status == "down":
await self.scale_down(**recommendations)
except OSError as e:
+ if status != "down":
logger.error("Adaptive stopping due to error %s", str(e))
self.stop()
finally:
