Changed scan callback function so it doesn't stop further scanning.