updated monitor to clean up the output
Added TODOs for setting socket timeout options where needed