Make netapi more of a process manager

This makes netapi watch for its children and if any die it will create new ones and log the event