indicating worker state in stats

dynState object in repl.js tracks for kill , shutdown command and check for the worker id in stats to print corresponding worker state