Rainforests may be more resilient than feared