add reaping of java promises

fix for #54