Fix NullPointerException when BOSS is killed