handle exit; increase max blocks mined