how long to rest after miscarriage