prevent node errors from killing app