Put tasks in a queue and process them one by one, but not too often