Added getParent within disconnect method
Added getParent within disconnect method