Update bootstrap.js and make disconnect less flaky