more timeout error checking