Added stop method once disconnect happens
Added in browser user agent identification