returns bool at close