Added graceful sample dropping.