check disconnect and termination cleanly with infitof instance