bugfix: trace switch after recv exit signal