Closing index after append new doc, to allow futher readings to show the new doc