web: tune stopping of sub-processing
allow SIGTERM break the loop