Implementing forever-monitor to be used with the --forever flag.