Added fix for fatal error during worker cleanup
Added running_count method to Mediator
Merge pull request #42 from brunnels/master

Added fix for fatal error during worker cleanup that fixes issue #41