Fixed zebra_close so that a NULL pointer is ignored.