Delete debugging from waitForSlotCollapsed method.