void (@NotNull FormattingRequestImpl formattingRequest, @Nullable ProgressIndicator indicator) { try { formattingRequest.runTask(indicator); } finally { myPendingRequests.remove(formattingRequest); } }