The current command (kill -0 $pid) does not seem to work on a Kubernetes cluster (Onyxia), even though the same container used for pods works when launched locally.
mentioned in issue #1372