How long does it take for dog heart medicine to work