add a cleanup task to the sms api