STORM-98 : Some more changes for saving old pids for checks inside monitor loop, but then it still needs a fix to avoid waitpid inside monitor loop to come into action when manual restarts are done using PUT call