stop logging all documents and stop initializing opbeat