Completed the feature to pause and resume the upload