Update Bootstrap.java

fixes that weird closing bug.