app/testpmd: fix log after detach