A livebearer that is subjected to stress factors can indeed drop its fry early. I sometimes think that premature drops are the reason breeding traps have so much success. When people trap a female they impose quite a bit of stress on them and the fish drop their fry. If the guess has been right about the fish being close to a drop, the fry will be viable. It is a self fulfilling prophesy in my mind. I think my fish is about to drop so I place her in a breeding trap and sure enough she does drop. If I was right, the fry are mature enough to survive. If I am wrong, I can blame the fish for dropping fry prematurely. Either way I am confident that I am a competent breeder. We have had some former members here who thought that breeding traps were a great idea, who I suspect were self deluded in just exactly that manner. They always guessed right about when their fish would drop ( how can you miss when the fish drop due to stress) and most of the time the fry lived to grow up. I try to take an entirely different approach as a general practice. I place a female in a "birthing tank" about a week or more before the drop. If I am right, the female has a chance to settle in to the new tank and is not stressed when she finally drops her fry. The fry are often larger than the ones you will find in a trap and the female is very unlikely to eat her fry. The end result is something like this on the birthday of the fry.
At about 5 weeks out the result still shows healthy mom and fry like this.