Adding extra logic to monitor starts and stops to verify that they've actually completed; particularly helpful with daemons that may take a few moments to shut down after receiving the kill signal
Correcting indentation and adding additional output while waiting for the stop command to complete to indicate activity
Merge pull request #2 from azadam/master

Adding sleep cycle to wait for programs that don't exit immediately