fixed bug in WorkQueueItem
the event should be raised only when the result is set.
continuously poll while a Z-Wave device dims
this is more clear