[SCSI] libiscsi: flush work before freeing connection