[Backport for 5.10.y PATCH 6/7] scsi: iscsi: Fix race condition between login and sync thread