removing msg on poll exit