Fix "Call to a member function connected()" during destruction