Why to call resume() after next()