Pesticides will come with a PHI rating (Pre Harvest Interval) for each crop that its labeled for use on. From what I can see neem oil as a 0 day PHI, in theory you'd be able to use it up until the day you harvest, obviously that wouldnt be necessary.