code: protected static UploadStatusDelegate getUploadStatusDelegate(String uploadId) {
          WeakReference<UploadStatusDelegate> reference = uploadDelegates.get(uploadId);
  
          if (reference == null)
              return null;
  
          UploadStatusDelegate delegate = reference.get();
  
          if (delegate == null) {
              uploadDelegates.remove(uploadId);
              Logger.info(TAG, "\n\n\nUpload delegate for upload with Id " + uploadId + " is gone!\n" +
                      "Probably you have set it in an activity and the user navigated away from it\n" +
                      "before the upload was completed. From now on, the events will be dispatched\n" +
                      "with broadcast intents. If you see this message, consider switching to the\n" +
                      "UploadServiceBroadcastReceiver registered globally in your manifest.\n" +
                      "Read this:\n" +
                      "https://github.com/gotev/android-upload-service/wiki/Monitoring-upload-status\n");
          }
  
          return delegate;
      }
docs: Gets the delegate for an upload request.
  @param uploadId uploadID of the upload request
  @return {@link UploadStatusDelegate} or null if no delegate has been set for the given
  uploadId