Add ability to abort search if a callback returns false