I think using a static initializer makes alreadyRun pointless (it's static too), so you should be able to remove it.