This disconnect method allows the child to exit gracefully. This also adds a disconnect event and connect property.