Kill the leaks in coroutine prototype