revert setpgrp changes