add remove dead exit to solve true exit

Signed-off-by: xiehuc <xiehuc@gmail.com>