Resolved issue of trying to stop a worker process already stopped by dokku
Added test for process existence before kill to commands