How will I know when the database isn't available?