# 3 leaked semaphore objects to clean up at shutdown\_MONAILabel

**URL:** <https://discourse.slicer.org/t/3-leaked-semaphore-objects-to-clean-up-at-shutdown-monailabel/29069>\
**Category:** Support\
**Tags:** segmentation, monailabel\
**Created:** [April 23, 2023, 2:48pm UTC](https://discourse.slicer.org/t/3-leaked-semaphore-objects-to-clean-up-at-shutdown-monailabel/29069 "2023-04-23T14:48:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Spiros\_Karkavitsas](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/spiros_karkavitsas/32/18224_2.png) [@Spiros\_Karkavitsas](https://discourse.slicer.org/u/Spiros_Karkavitsas)\
**Post date:** [April 23, 2023, 2:48pm UTC](https://discourse.slicer.org/t/3-leaked-semaphore-objects-to-clean-up-at-shutdown-monailabel/29069/1 "2023-04-23T14:48:03Z")

</div>

Operating system:Windows 10 Pro  
Slicer version: 5.12

Hello everyone,

I am using MONAI to train an algorithm. However, as I submit the labels and press the train button this message appeared today a couple of times on the log file (see attached).

The main message is ‘‘There appear 3 leaked semaphore objects to cleanup at shutdown’’

What is the cause of this error and did anyone encounter in the past such an issue?

 ![Screenshot_11](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/a/9/a90876df79f15a818e02094ded0d5cfa0244f467.jpeg)

Thank you in advance for your replay

---

<div class="post-metadata">

**Author:** ![Spiros\_Karkavitsas](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/spiros_karkavitsas/32/18224_2.png) [@Spiros\_Karkavitsas](https://discourse.slicer.org/u/Spiros_Karkavitsas)\
**Post date:** [June 21, 2023, 7:04pm UTC](https://discourse.slicer.org/t/3-leaked-semaphore-objects-to-clean-up-at-shutdown-monailabel/29069/2 "2023-06-21T19:04:38Z")

</div>

Apparently, the solution to this was trivial.

I noticed if you submit to MONAI server, by accident non-labeled 3D volumes then this error occur.
