Patch for session directory exhaustion via orphaned locks