Energy Minister wants to avoid closure of Whitegate oil refinery