- wait at the end to check mem usage