support HUP signal