The RHS suggests trying to prevent the insects laying eggs with the use of Deltamethrin (Bayer Sprayday Greenfly Killer) or lambda cyhalothrin (Westland Plant Rescue Fruit & Vegetable Bug Killer), which do not have the same problems. They do point out that you will have to spray several times as the adult sawflies are active over a six to eight week period in late spring-early summer.
Alternatively, you can avoid the problem with thiacloprid and the like by not spraying when the flowers are open, nor allowing them to flower for three weeks after spraying - the chemical works its way out of the plant after a few weeks, which is why you have to re-apply.