This is an easy fix. Once you have let it cool and determined it is still too thin, warm it back up over low heat and add a small amount of cornstarch slurry. (Cornstarch and cold water mixed together) Continue cooking until it thickens up.