def newThread(self):
    print('new thread called, sleeping %s' % time.time())
time.sleep(10)
self.write('Awake after 10 seconds!' % time.time())
self.finish()
Python Tornado - Asynchronous Request is blocking