Prevent p_quit