Fork of Cristiano Sadun's JPoller library