[Issue 9564] Race condition with freeing the spilled pages from transaction