void exec() {
        LOGGER.debug("Updating the status for this node.");
        taskContextFactory.current().info(() -> "Updating the status for this node");
        internalStatisticsReceiver.putEvents(nodeStatusServiceUtil.buildNodeStatus());
    }
Gets a task if one is available, returns null otherwise.

@return A task.
stroom-node/stroom-node-impl/src/main/java/stroom/node/impl/NodeStatusExecutor.java