nginx friends!

How can I configure the timeout that the parent process gives it’s workers to drain all open connections before the workers are shut down?

The default seems to be 20 seconds.