Active non-dissipative snubbers