Original Source: https://www.bbc.co.uk/food/recipes/egg_custard_tarts_15352

Spare custard? Pop it in a pie dish in a bain marie (bath of water) in the oven.

Turned out good! But maybe try 500ml milk next time and try to do something about the holes in pastry.