Added -d delay of 30 seconds to killproc command in init scripts.

Adds a delay to 30 seconds between SIGTERM and SIGKILL after killproc has been run if the application has not shut down within the first few milliseconds of the SIGTERM. This prevents data loss when you have large queues or are persisting your queues to disk on shutdown.