Remove isGeneratorFunction check in co() and replace it with a generic
function check. Also add try-catch around gen = gen.call(this)