destroy method and destroy callback implemented in transport/direct