[bugfix] free epbase when shutdown