Memory retention issue with ajax and timeouts.

Memory retention issue with ajax and timeouts.

Not sure if it is required for me to notify you, but I've identified an issue and created a ticket (#6583). I think I may have found a memory retention problem to do with ajax and timeouts. A test case has been attached to the ticket.