Fix some leaky things

The important fix here is the commit in 517b959. These checks were getting stuck and causing crashes with 30+ BanManager threads open. The 3 second timeout should prevent that. The other commit is just a warning that Eclipse gave, and I figured it'd be best to fix it.