WFCORE-194 Improve Debian/Ubuntu init.d shutdown process

The init.d script for Debian/Ubuntu can be improved in the way it shutdown the server...

If some process hang up, the actual script don't handle that scenario.

I believe that if at L240 $status_stopped -eq 3, then start doesn't get called. Perhaps unlikely, but possible.