void StoreUnlockWaitCallback (object s) {
CallbackState state = (CallbackState) s;
SessionStateStoreData item = GetStoreData (state.Context, state.SessionId, state.IsReadOnly);
if (item == null && storeLocked && (storeLockAge > executionTimeout)) {
handler.ReleaseItemExclusive (state.Context, state.SessionId, storeLockId);
storeData = null; // Create new state
state.AutoEvent.Set ();
}
else if (item != null && !storeLocked) {
storeData = item;
state.AutoEvent.Set ();
}
}