returning generator function

Koa expects this (API changed ?)