{
try {
// retrive to check it exists, otherwise it can't have locks
structure.retrieve(slideToken, requestUri);
// clear expired lock-tokens
UnlockListenerImpl listener = new UnlockListenerImpl(slideToken, token, config, req, resp);
lock.clearExpiredLocks(slideToken, requestUri, listener);
if (listener.getUnlockCount() > 0) {
// If we have have cleared any lock or any lock-null resource in
// the previous step we commit this changes, otherwise they will
// be lost if executeRequest() exits with an exception (e.g.
// because of Not Found 404)
token.commit();