If the syrup develops mold around the edges or has a cloudy appearance, it should be discarded.