when to rest