removed job once  completed

master and worker now remove an active job from their mappings once the
job has completed