Added abort when grasp generation fails.