Timeout was not correctly recognized