Building resilient agriculture through pest management