Thread-based MySQLdb asynchronous wrapper for Tornado