Run elasticsearch in the foreground