Disconnecting signals
Clean disconnect when the app is closed