Break out of cursor.forEach by returning false