Timing is everything when it comes to managing invasive species