Terminate I/O streams instead of deleting them when an external module exits.
This prevents a race condition causing random memory corruption.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5850 acf43c95-373e-0410-b603-e72c3f656dc1