Perform a break instead of return in ScreenshotSequenceThread