process.exit on errors when initializing to ensure connection on start