The main purpose of filling oil in a circuit breaker is :