Fails with tornado 3.0

Fails with older versions of Tornado so probably need to specify a version.