I think that "remove" method of SingleWindow should be synchronized