Add management command to close sms sessions with invalid ids