Target_del() might has not yet received all connections close events, so it can still has alive sessions. Wait for them to disappear. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4617 d57e44dd-8a1f-0410-8b47-8ef2f437770f