If your chocolate pie is runny, it's likely the filling wasn't cooked long enough to coagulate. Bring the filling to a simmer until a few bubbles burst on the surface and it reaches about 160 degrees. Take care, however, because you also don't want to overcook the filling which will make it very dense, and can even make it start to weep and separate.