windmill
noun
any of various machines for grinding, pumping, etc., driven by the force of the wind acting upon a number of vanes or sails.
Used to describe an action that was ongoing continuously in the past up until another past event interrupted it.