added a re-connect for mongo connection
adding a watchdog for connections
changed the distribution to a function and started the job by default, seems state 0 as ready does not means connected by default
adding a fallback for memory check to se free system command on linux that gives a more exact ammoun that os.freemem
fixed server dependency enoughFreemem