Sorted hanging session by introducing a cache factory with a size of 0