adding a max number of queue otems in the failed queue.  if the max is reached then we start logging to an external logger
change the code to use a class var rather then a hard coded value for the max failed queue items
use the count prperty as a property and not a function
Merge branch 'nonfork-worker'