Add findbugs, fix unlocked write to events array in DeferredImpl