set timeout, pass through error messages