Improving frequency stability of a 0.67 THz gyrotron by delayed reflection