There’s an optimal time to give negative feedback