Fixed crash due to deallocation of TTLManager.
Fixed some retain cycles.
Revert "Fixed some retain cycles."

This reverts commit e52c9a36536173836150505c29ba9c4b38ee0c8f.