[issue #27] Implement and fix __destruct, gc