It's not the most elegant solution to cancel a drag and drop, but you can make sure the destination is blocked (move the object into a wall), too high (over a tallish object, even just a sign post) or too far before dropping.