added code to protect data if background task exceeds 10 minutes...haven't figured out how to test this though lol shouldn't affect anything else though