exit after a specified max like count