Deleting messages after processing