Use combination of unref(), disconnect(), detached and stdio to not wait for the forked process to terminate.
Change cb to node style,.

Also fix an error when no internet connection was available.