Close crowdsales when maxtokens are hit