Reference cycle between RequestHandler and "closured" render function

Same here. I used weakref to resolve it.