Fixed camera service bug when cancelling capture task in windows app