Implement abort() interface for better architecture for cleanup.