Fix exception handling in run_logpusher
Update exception handling in child TCP server
Added ensure clause to write_changes_out

Make sure that the file size is accurate.
removing the monitor_spec