Fix deadlock in Tornado threads (single-threaded now)
Merge pull request #2 from schlamar/fix-tornado-threads

Fix deadlock in Tornado threads (single-threaded now)