PHP Self-destroy Resources