disconnect mongo when node process terminated