Moved screenShotSequenceThread interrupt check to inside while loop