The manager decided to nip the problem in the bud before it escalated. What does 'nip in the bud' mean?