stop infinit barchart loop as well