try to make it really terminate