if ($cleanupInvalidEnabled === 'yes') {
                    // FIXME: for now delete, but maybe provide a dialog in the future to the user
                    // to inform that share no longer valid and should contact owner? Likely big refactor
                    // NOTE: we remove share here to improve user experience for 99,9% of cases, however it can happen that
                    // server is misbehaving/unstable (returning wrong responses) and valid share gets removed