Checking if the user has requested a disconnect before connecting

While adapting the service for my project, I found it handy to check if the connection status is NOTCONNECTED_USERDISCONNECT to prevent connects during activity switches after the user has explicitly requested a disconnect.