1) implements the 15 minute timer for refreshing the job queue (2 minutes in this dev build); 2) additional refactorings to ensure that a refresh will not be called while another WS is being actively processed