Better handling of data uploading as apps move into the background.