diff --git a/debian/control b/debian/control
index 6a6d5ed9d46dca35a25de6629be30574f231cbbd..81641235ad91970df2c1f2ebd7a39f78e54df0dd 100644
--- a/debian/control
+++ b/debian/control
@@ -15,7 +15,7 @@ Build-Depends: debhelper (>= 9),
                python3-nose,
                python3-psycopg2,
                python3-setuptools,
-               python3-swh.core (>= 0.0.38~),
+               python3-swh.core (>= 0.0.40~),
                python3-vcversioner
 Standards-Version: 3.9.6
 Homepage: https://forge.softwareheritage.org/diffusion/DSCH/
diff --git a/requirements-swh.txt b/requirements-swh.txt
index a152b02afebcb78da5e03d34e732a8cc4bf2c75b..9e6b6d136815f8650ec54fdd44b5568b4f3637cf 100644
--- a/requirements-swh.txt
+++ b/requirements-swh.txt
@@ -1 +1 @@
-swh.core >= 0.0.38
+swh.core >= 0.0.40
diff --git a/swh/scheduler/api/client.py b/swh/scheduler/api/client.py
index 9b3baaced0028d08591ce5fa7bd984cae7580b96..dbb96415d69a94a2c2402468c09a93ed293df037 100644
--- a/swh/scheduler/api/client.py
+++ b/swh/scheduler/api/client.py
@@ -21,8 +21,9 @@ class RemoteScheduler(SWHRemoteAPI):
     """Proxy to a remote scheduler API
 
     """
-    def __init__(self, url):
-        super().__init__(api_exception=SchedulerAPIError, url=url)
+    def __init__(self, url, timeout=None):
+        super().__init__(
+            api_exception=SchedulerAPIError, url=url, timeout=timeout)
 
     def close_connection(self):
         return self.post('close_connection', {})