Fix issue where it reframed close message.