Add stop wait parameters

Please merge this change to upstream. 
Parameter `service_stopsecs` set to 300 seconds because of Kafka controlled shutdown usually takes more than default 10 seconds. If forced to stop, it would take a long time to recover.