Fixed deadlock.
Merge branch 'master' of https://github.com/hmatuschek/SciPyNotebook