Define timeout limits and error messages