activesynccli.py: The recursive calling resulted in a memoryleak
Also, some code to detect memoryleaks.