Disconnect signals properly