[HttpFoundation] fix PDO session handler under high concurrency