diff --git a/libs/esl/fs_cli.c b/libs/esl/fs_cli.c index 5a675f8b8a..56903b42e8 100644 --- a/libs/esl/fs_cli.c +++ b/libs/esl/fs_cli.c @@ -1640,6 +1640,7 @@ int main(int argc, char *argv[]) el_end(el); #endif esl_disconnect(&handle); + global_handle = NULL; thread_running = 0; return 0; }