fixed quick exit on completed

Signed-off-by: Jack <jack.wgm@gmail.com>