Display an error if GetDeclarations times out