We need an optional way to remove messages when they are successfully received. By default it should be set to false.