initialized shared variables
diff --git a/src/mod_rivet_ng/rivet_worker_mpm.c b/src/mod_rivet_ng/rivet_worker_mpm.c
index 22cf7a8..b78064c 100644
--- a/src/mod_rivet_ng/rivet_worker_mpm.c
+++ b/src/mod_rivet_ng/rivet_worker_mpm.c
@@ -134,7 +134,7 @@
     void*               v;
     handler_private*    thread_obj;
     apr_status_t        rv;
-    apr_uint32_t        threads_to_stop;
+    apr_uint32_t        threads_to_stop = 0;
     int                 not_to_be_waited;
 
     not_to_be_waited = module_globals->mpm->skip_thread_on_exit;