This module gets all local streamIDs and,checks if they are undefined and
    pushes them. The connection then waits for a disconnect to occur.
        
        
            
    Parameters:
| Name | Type | Description | 
|---|---|---|
resolve | 
            
            String | If all streamIDs are fetched successfully for a successful disconnect | 
reject | 
            
            String | If all streamIDs are not fetched, an error message is displayed | 
- Source: