Oil prices retreat from 3-month highs