Move process exiting to callback
Added detailed logging for starting and stopping clients