Move close() to handleDownstream()
Add yield() to Nrtm test