Move close() to handleDownstream()
Add yield to NrtmTest  thread