Oil markets ease after three days of gains