Dissipation in an oscillatory reaction mechanism with periodic input