Python decorator for Tornado asynchronous timeout