delete log & sending offline messages