clear pending message on client offline