Add logic in annotator's (perl) progress publisher to 1) not stall forever if put is attempted when the Perl beanstalkd client connected successfuly to the beanstalkd server, but by the time the put operation is attempted the beanstalkd server is inaccessible, 2) reconnect to the beanstalkd server every 30 seconds to reduce the likelihood that stalling happens
Ensure that annotator's perl server does not delete a job unless the completion or failure message has successfully been transmitted to the beanstalkd server
Report totalAnnotated and totalSkipped in annotation and saveFromQuery completion messages, so that if progress messages are not delivered, the API server can still faithfully report the total progress
Report totalIndexed in index completion messages, for the same reason.