# simpleitk.show not returning handles after execution

**URL:** https://discourse.itk.org/t/simpleitk-show-not-returning-handles-after-execution/1962
**Category:** Beginner Questions
**Created:** [June 12, 2019, 6:46pm UTC](https://discourse.itk.org/t/simpleitk-show-not-returning-handles-after-execution/1962 "2019-06-12T18:46:10Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![nsp8](https://discourse.itk.org/user_avatar/discourse.itk.org/nsp8/32/818_2.png) [@nsp8](https://discourse.itk.org/u/nsp8)
#### Post date: [June 12, 2019, 6:46pm UTC](https://discourse.itk.org/t/simpleitk-show-not-returning-handles-after-execution/1962/1 "2019-06-12T18:46:11Z")

</div>

Hi all,

When I try to sitk.show(img), an imageJ windows pop up with the image I want to show. But inside the jupyter notebook, it still shows busy kernel even after close the imagej window. Does anyone know why this happens?

![image](https://discourse.itk.org/uploads/default/original/1X/843b8c7f47c98ced64683202a1c9b376e34ec988.png)

Thank you!

---

<div class="post-metadata">

### Author: ![blowekamp](https://discourse.itk.org/user_avatar/discourse.itk.org/blowekamp/32/79_2.png) [@blowekamp](https://discourse.itk.org/u/blowekamp)
#### Post date: [June 12, 2019, 6:54pm UTC](https://discourse.itk.org/t/simpleitk-show-not-returning-handles-after-execution/1962/2 "2019-06-12T18:54:26Z")

</div>

Hello nsp3 and welcome to the ITK community.

This is fixed by this patch: [https://github.com/SimpleITK/SimpleITK/commit/dc5c1a1dc511b7e137acd206ee20fe40406838de#diff-ca6f2e1bfacc2a48441cf9cbb684d1c3](https://github.com/SimpleITK/SimpleITK/commit/dc5c1a1dc511b7e137acd206ee20fe40406838de#diff-ca6f2e1bfacc2a48441cf9cbb684d1c3)

There will be a SimpleITK 1.2.1 patch release in a coupe of weeks which will include this fix.

@dchen Is there a work around for this issue?
