df06c0d2af
We cannot quit the process when user did not Logout from the session, because the active connections always bigger than zero. User cannot use Ctrl+C to quit SPDK iSCSI target. Add a new state to connection to avoid destruct connection more than once. Change-Id: I8efa79aa47534bd6ead965713769f751d9802e47 Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>