sys_exit after run out of count