Yes, pastry cream can be overcooked. Too much heat will weaken the bonds provided by starch and make the mixture runny again.