[CB-5219] weinre disconnects when history.replaceState is used