I think having a good agent is key. I've been with mine for ten years now, and she's very honest with me. There are a lot of times I've sent her books that were not so good because I was tired of writing, or panicked about money, and she's told me flat out, "You don't want this to be your next book. Trust me."