cleaning up the jenkins recipe and ensuring it restarts properly