Rewrite check_pausegp