remove unnecessary message before sleeping remote machine