Actually set context to NULL on shutdown.