TeamHandler cleanup