Changed receive handler to bundle up messages