Under valgrind web host was cuasing a leak in TLS allocation.  This is
because web was not being allowed to shutdown.  Making web_control now a
joinable thread and forcing it to close down during restart and after
receiving a signal to shutdown there is no longer a memory leak in
pthread handling.