added stream close check to diagnose when circular references are causing orphaned timers