Tornado 2.4.x does not have StreamClosedError