Starting and stopping Rethink in build script.