Use an explicit stop signal to gracefully exit the SOCKS proxy accept loop