reset pool if one of the graphs is closed