Workaround for sigint going to wrong process